import bpy








def f_get集合(name):
	loc = bpy.data.collections.find(name)
	if loc < 0:
		集合 = bpy.data.collections.new(name)
		bpy.context.scene.collection.children.link(集合)
	else:
		集合 = bpy.data.collections[loc]

	return 集合
		